package com.litong.rms.service;

import java.util.List;

import com.litong.rms.bean.RoleAuth;

public interface RoleAuthService {
	
	public void addRoleAuth(RoleAuth roleAuth);
	
	public RoleAuth findRoleAuth(RoleAuth roleAuth);
	
	public void updateRoleAuth(RoleAuth roleAuth);
	
	public void deleteRoleAuth(RoleAuth roleAuth);
	
	/*删除根据角色Id角色权限*/
	public void deleteRoleAuthByRoleId(int roleId);
	
	public <T>List<T> getRoleAuthList();
	
	public <T>List<T> getRoleAuthList(int roleId);
}
